import java.util.Scanner;
public class 回文数 {
    public static void main(String[] args) {
     Scanner Sc = new Scanner(System.in);
     int i = Sc.nextInt();
     int sum = 0;
     int b = i;
     //1221;
      while(i != 0) {
           int ge = i % 10;
          i = i / 10;
          sum = sum * 10 + ge;
      }
        if(sum == b){
            System.out.println("ture");
        }else{
            System.out.println("false");
        }
    }
}
